.modelViewerContainer {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(135deg, #e0e7ef 0%, #f5f7fa 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .modelViewerContainer {
    min-height: 240px;
    max-width: 98vw;
  }
}
.animationControls {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.85);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 16px 18px;
  z-index: 1001;
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(30,144,255,0.12);
  min-width: 220px;
}

.controlPanel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.controlSelects {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.select {
  width: 100%;
  
  :global {
    .ant-select {
      width: 100%;
    }
    
    .ant-select-selector {
      background: rgba(255, 255, 255, 0.8) !important;
      border: 1px solid rgba(0, 0, 0, 0.1) !important;
      border-radius: 6px !important;
      height: 32px !important;
      padding: 2px 8px !important;
      
      &:hover {
        border-color: #1890ff !important;
      }
    }
    
    .ant-select-selection-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
    }

    .ant-select-dropdown {
      background: rgba(255, 255, 255, 0.95) !important;
      backdrop-filter: blur(8px);
    }
  }
}

.selectOption {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  font-size: 13px;
  
  .optionIcon {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
  }
}

.controlButtons {
  display: flex;
  justify-content: center;
  padding: 4px 0;
  
  :global {
    .ant-btn {
      width: 32px;
      height: 32px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      
      &:hover {
        transform: translateY(-2px);
      }
    }
  }
}

.positionControls {
  border-top: 1px solid #eee;
  padding-top: 8px;
  
  .positionTitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
  }
  
  :global {
    .ant-btn {
      width: 40px;
      height: 24px;
      padding: 0;
      font-size: 12px;
    }
  }
}

.panelTitle {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid #eee;
}

:global {
  .ant-slider {
    margin: 4px 0;
  }
  
  .ant-btn {
    height: 32px;
    font-size: 13px;
  }
}
